package yicr.untils.gis.domain;

import lombok.Data;


@Data
public class NslGpsPoint {
    private String idString;
    private double longitude;
    private double latitude;

    //gps or radian
    private String coordinate="GPS";

    public NslGpsPoint() {
    }

    public NslGpsPoint(String idString, double longitude, double latitude) {
        this.idString = idString;
        this.longitude = longitude;
        this.latitude = latitude;
    }

    public String getIdString() {
        return idString;
    }

    public void setIdString(String idString) {
        this.idString = idString;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }


    public String getCoordinate() {
        return coordinate;
    }

    @Override
    public String toString() {
        return "PointGis{" +
                "idString='" + idString + '\'' +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                ", coordinate='" + coordinate + '\'' +
                '}';
    }
}
